package com.bjpowernode.boss.common.exception;

import com.bjpowernode.boss.common.enums.ResponseCode;

/**
 * @author yu
 * @date 2024/7/7  10:38
 */

public class BossException extends RuntimeException{

    private ResponseCode responseCode ;

    public BossException() {
        super();
    }

    public BossException(String message) {
        super(message);
    }

    public BossException(ResponseCode responseCode) {
        this.responseCode = responseCode;
    }

    public ResponseCode getResponseCode() {
        return responseCode;
    }
}
